package com.xmy.cultivate.respons;

import lombok.Data;
import org.crazycake.shiro.AuthCachePrincipal;

import java.io.Serializable;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

@Data
public class ProfileResult implements Serializable, AuthCachePrincipal {
    /**
     * id
     */
    private Long id;

    private String openId;

    /**
     * 账号
     */
    private String account;

    /**
     * 密码
     */
    private String pwd;

    /**
     * 姓名
     */
    private String name;

    private Integer governMode;

    /**
     * 性别
     */
    private Integer sex;

    private Integer deleted;

    private Integer isSuper;

    //private List<Role> roleList;

    Set<String> permissionCodes = new HashSet<>();

    private List<Long> schoolIdList;

    @Override
    public String getAuthCacheKey() {
        return null;
    }
}
